package com.whiteape.book.contract;


import com.whiteape.book.ui.base.BaseContract;

public interface MainContract {

    interface View extends BaseContract.BaseView {

//        void initImmersionBar();

        /**
         * 取消弹出框
         */
//        void dismissHUD();

        /**
         * 恢复数据
         */
        void onRestore(String msg);

        void recreate();

//        void toast(String msg);

//        void toast(int strId);

//        int getGroup();
    }

    interface Presenter extends BaseContract.BasePresenter<View>{

        void backupData();

        void restoreData();

        void addBookUrl(String bookUrl);
    }

}
